title: AWS Key Management Service
tags:
- "#aws/security/kms"
published: true
course:
id: 1
name: Belajar AWS
section:
id: 3
name: Account Security
lecture:
id: 10AWS Key Management Service
aws/s3aws/ebsaws/redshitAWS_KMS) - default
EXTERNAL)
AWS_CLOUDHSM)
aws/service-nameaws/rdsaws/ebs{
"Sid":"Allow use of the key with destination account",
"Effect":"Allow",
"Principal":{
"AWS":"arn:aws"iam::xxx"
},
"Action":[
"kms:Decrypt",
"kms:CreateGrant"
],
"Resource":"*",
"Condition":{
"StringEquals": {
"kms:viaService":"ec2.REGION.amazonaws.com",
"kms:CallerAccount":"<TARGET-ACCOUNT-ID>"
}
}
}
//TODO